package com.web.kdl.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@Data
public class EditSiteWheelDto {

    @NotNull(message = "站点id不能为null")
    private Integer siteId;

    @NotNull(message = "飞轮序列号不能为null")
    private Integer flywheelSerial;

    @NotBlank(message = "飞轮名称不能为空")
    private String subSite;

    @NotNull(message = "飞轮起始地址不能为null")
    private Integer startRegisterAddress;
}
